package avicit.bdp.dcs.utils.api.response;

import avicit.bdp.dcs.utils.api.Configuration;
import com.alibaba.fastjson2.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.ResponseEntity;

public class XmlAdapter extends ResponseAdapter {

    private static final Logger LOG = LoggerFactory.getLogger(XmlAdapter.class);

    private static XmlAdapter instance;

    private XmlAdapter() {
    }

    public synchronized static XmlAdapter instance() {
        if (instance == null) {
            instance = new XmlAdapter();
        }
        return instance;
    }

    /**
     * 解析响应数据
     * @param readerSliceConfig
     * @param recordSender
     * @param result
     * @param columnList
     */
    public String parseResponseData(Configuration readerSliceConfig, ResponseEntity<String> result){
        return "";
    }

}
